package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.TbDeviceRemark;
import com.kws.system.domain.info.QueryReviewManagementInfo;
import com.kws.system.domain.vo.QueryReviewManagementRq;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ReviewManagementMapper extends BaseMapper<TbDeviceRemark> {
    Page<QueryReviewManagementInfo> queryReviewPage(@Param("page") Page<QueryReviewManagementInfo> page, @Param("query") QueryReviewManagementRq query);

    List<QueryReviewManagementInfo> queryReviewList(@Param("query") QueryReviewManagementRq query);

    List<QueryReviewManagementInfo> queryReviewById(@Param("id") Long id);

    Double countOrderPrice(@Param("orderNo") String orderNo);
}
